﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Dog : Animal,Iswimable
    {
        public override void Eat() 
        {
            Console.WriteLine("我爱吃骨头"); 
        }

        public void swim()
        {
            Console.WriteLine("我会狗泳");
        }
    }
}
